<html>
<head><meta charset="utf-8"><title>Understanding `summarize` output · t-compiler/wg-self-profile · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/index.html">t-compiler/wg-self-profile</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html">Understanding `summarize` output</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="204161853"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204161853" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204161853">(Jul 17 2020 at 01:05)</a>:</h4>
<p>Using rustc-bench, I did some benchmarking runs with <code>--self-profile</code> enabled</p>



<a name="204161891"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204161891" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204161891">(Jul 17 2020 at 01:06)</a>:</h4>
<p>So that gives me the tables available in the website results</p>



<a name="204161897"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204161897" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204161897">(Jul 17 2020 at 01:06)</a>:</h4>
<p>And then I did some profiling runs using <code>self-profile</code> as the profiler, which gives me <code>summarize</code> output (plus crox and flamegraph output)</p>



<a name="204161904"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204161904" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204161904">(Jul 17 2020 at 01:06)</a>:</h4>
<p>When I compare the website tables with the <code>summarize</code> text tables, they're a bit different.</p>



<a name="204161914"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204161914" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204161914">(Jul 17 2020 at 01:07)</a>:</h4>
<p>E.g. here is the top 5 entries for webrender from the site:</p>



<a name="204161921"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204161921" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204161921">(Jul 17 2020 at 01:07)</a>:</h4>
<div class="codehilite"><pre><span></span><code>Query/Function   Time (s)  Time (%)  Executions
-----------------------------------------------
Totals           2.351     102.72%*  376071
-----------------------------------------------
typeck_tables_of 0.647      27.54%     2356
mir_borrowck     0.405      17.24%     2356
expand_crate     0.159       6.77%        1
mir_built        0.150       6.40%     2356
resolve_crate    0.084       3.59%        1
</code></pre></div>



<a name="204162005"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162005" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162005">(Jul 17 2020 at 01:09)</a>:</h4>
<p>And here are the numbers from <code>summarize</code>:</p>



<a name="204162006"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162006" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162006">(Jul 17 2020 at 01:09)</a>:</h4>
<div class="codehilite"><pre><span></span><code>+---------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| Item                                        | Self time | % of total time | Time     | Item count | Cache hits | Blocked time | Incremental load time |
+---------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| typeck_tables_of                            | 316.71ms  | 27.998          | 414.22ms | 512        | 0          | 0.00ns       | 0.00ns                |
+---------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| mir_borrowck                                | 176.92ms  | 15.640          | 333.28ms | 512        | 0          | 0.00ns       | 0.00ns                |
+---------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| metadata_decode_entry                       | 78.13ms   | 6.907           | 120.03ms | 149435     | 0          | 0.00ns       | 0.00ns                |
+---------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| expand_crate                                | 64.05ms   | 5.662           | 121.46ms | 1          | 0          | 0.00ns       | 0.00ns                |
+---------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| mir_built                                   | 57.88ms   | 5.117           | 72.45ms  | 512        | 0          | 0.00ns       | 0.00ns                |
+---------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
</code></pre></div>



<a name="204162073"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162073" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162073">(Jul 17 2020 at 01:10)</a>:</h4>
<p>The times don't match up. I'm not expecting them to be exactly the same, but I would have thought they'd be closer</p>



<a name="204162090"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162090" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162090">(Jul 17 2020 at 01:11)</a>:</h4>
<p>The "Executions" numbers also don't match the "Item counts", which I expected</p>



<a name="204162111"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162111" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162111">(Jul 17 2020 at 01:11)</a>:</h4>
<p><span class="user-mention" data-user-id="125250">@Wesley Wiser</span> Any ideas about these discrepancies?</p>



<a name="204162162"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162162" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162162">(Jul 17 2020 at 01:12)</a>:</h4>
<p>Hmm</p>



<a name="204162276"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162276" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162276">(Jul 17 2020 at 01:14)</a>:</h4>
<p>IIRC <code>rustc-perf</code> takes one of the profile results from the test run but I'm not sure how it picks which one</p>



<a name="204162298"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162298" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162298">(Jul 17 2020 at 01:15)</a>:</h4>
<p>But yeah, you would think that the executions/item counts should be the same across runs</p>



<a name="204162463"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162463" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162463">(Jul 17 2020 at 01:18)</a>:</h4>
<p>The "Time" column on the website appears to match the "Self time" column from <code>summarize</code></p>



<a name="204162489"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162489" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162489">(Jul 17 2020 at 01:19)</a>:</h4>
<p>(I used <code>drop_ast</code> to check that, it has a small self-time but a huge time)</p>



<a name="204162694"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162694" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162694">(Jul 17 2020 at 01:23)</a>:</h4>
<p>Hmm, I just did three more runs with <code>summarize</code>, and those three match the site results</p>



<a name="204162698"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162698" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162698">(Jul 17 2020 at 01:23)</a>:</h4>
<p>So the original <code>summarize</code> results are the odd ones out</p>



<a name="204162755"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162755" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162755">(Jul 17 2020 at 01:24)</a>:</h4>
<p>It looks like the site only collects self-profile results for the first execution <a href="https://github.com/rust-lang/rustc-perf/blob/master/collector/src/execute.rs#L494-L498">https://github.com/rust-lang/rustc-perf/blob/master/collector/src/execute.rs#L494-L498</a></p>



<a name="204162827"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162827" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162827">(Jul 17 2020 at 01:26)</a>:</h4>
<blockquote>
<p>And then I did some profiling runs using self-profile as the profiler, which gives me summarize output (plus crox and flamegraph output)</p>
</blockquote>
<p>Did you get this from rustc-perf or do you mean you passed <code>-Zself-profile</code> to the compiler via cargo or something?</p>



<a name="204162840"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162840" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162840">(Jul 17 2020 at 01:26)</a>:</h4>
<p>From rustc-perf, running <code>collector bench_local --self-profile</code></p>



<a name="204162845"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162845" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162845">(Jul 17 2020 at 01:26)</a>:</h4>
<p>that only runs each benchmark once anyway, unlike the CI which does it three times</p>



<a name="204162915"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162915" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162915">(Jul 17 2020 at 01:28)</a>:</h4>
<p>Ok</p>



<a name="204162937"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162937" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162937">(Jul 17 2020 at 01:28)</a>:</h4>
<p>How much time was the total as reported by <code>summarize</code>? It should be the last line in the output</p>



<a name="204162962"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204162962" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204162962">(Jul 17 2020 at 01:29)</a>:</h4>
<p>Hmm, the two sets of results for <code>cargo</code> match very closely</p>



<a name="204163052"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204163052" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204163052">(Jul 17 2020 at 01:30)</a>:</h4>
<p>But for webrender, the site says 1.07s total, while summarize says 2.45s</p>



<a name="204163083"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204163083" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204163083">(Jul 17 2020 at 01:31)</a>:</h4>
<p>Is this a full compilation? Or incremental?</p>



<a name="204163084"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204163084" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204163084">(Jul 17 2020 at 01:31)</a>:</h4>
<p>Argh, wait, I may have been looking at webrender-wrench for the <code>summarize</code> results</p>



<a name="204163230"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204163230" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204163230">(Jul 17 2020 at 01:34)</a>:</h4>
<p>Yes, here are the <code>summarize</code> results for <code>webrender</code>, not <code>webrender-wrench</code>:</p>
<div class="codehilite"><pre><span></span><code>+---------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| Item                                        | Self time | % of total time | Time     | Item count | Cache hits | Blocked time | Incremental load time |
+---------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| typeck_tables_of                            | 698.56ms  | 28.468          | 805.74ms | 2356       | 0          | 0.00ns       | 0.00ns                |
+---------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| mir_borrowck                                | 412.85ms  | 16.824          | 828.04ms | 2356       | 0          | 0.00ns       | 0.00ns                |
+---------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| mir_built                                   | 151.91ms  | 6.191           | 176.13ms | 2356       | 0          | 0.00ns       | 0.00ns                |
+---------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| expand_crate                                | 142.17ms  | 5.794           | 165.61ms | 1          | 0          | 0.00ns       | 0.00ns                |
+---------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| resolve_crate                               | 89.50ms   | 3.647           | 89.50ms  | 1          | 0          | 0.00ns       | 0.00ns                |
+---------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
</code></pre></div>



<a name="204163243"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204163243" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204163243">(Jul 17 2020 at 01:35)</a>:</h4>
<p>A much better match for the site results.</p>



<a name="204163245"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204163245" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204163245">(Jul 17 2020 at 01:35)</a>:</h4>
<p>Apologies for the confusion</p>



<a name="204163301"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204163301" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204163301">(Jul 17 2020 at 01:36)</a>:</h4>
<p>No worries! I'm glad it worked out</p>



<a name="204167449"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204167449" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204167449">(Jul 17 2020 at 03:31)</a>:</h4>
<p>The flamegraph is my favourite presentation of the data</p>



<a name="204167489"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/204167489" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#204167489">(Jul 17 2020 at 03:32)</a>:</h4>
<p>Though the text tables from <code>summarize</code> can be useful for grepping through output from lots of benchmarks</p>



<a name="214206186"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/214206186" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#214206186">(Oct 22 2020 at 15:46)</a>:</h4>
<p>Is there a place to go to better understand what a particular item from the summarize output? In particular I have a build spending a lot of time in <code>native_library_kind</code> which sounds like it might be about lib linking, but I'd like to find out more</p>



<a name="214207367"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/Understanding%20%60summarize%60%20output/near/214207367" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/Understanding.20.60summarize.60.20output.html#214207367">(Oct 22 2020 at 15:54)</a>:</h4>
<p>it's usually either a manual string or a query, in this case it <a href="https://github.com/rust-lang/rust/blob/1eaadebb3dee31669c7649b32747381d11614fae/compiler/rustc_middle/src/query/mod.rs#L1235">is a query</a> whose implementation seems to be <a href="https://github.com/rust-lang/rust/blob/2d6eccdb67aef48d0804cb473536b925f61a7f18/compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs#L260-L277">here</a> ?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>